package com.hotspot.chartview.model;

/**
 * 按颜色区分的柱状图
 * 
 * @author BaiYuliang
 */
public class ColoredBarChartData {

    public int index; // 索引值
    public String title; // 一级标题
    public int color; // 颜色对应的资源文件id
    public float height; // 高度

    public ColoredBarChartData(int index, String title, int color, float height) {
        super();
        this.index = index;
        this.title = title;
        this.color = color;
        this.height = height;
    }

    @Override
    public String toString() {
        return "ColoredBarChartData [index=" + index + ", title=" + title + ", color=" + color
                + ", height=" + height + "]";
    }

}
